package router

import (
	"github.com/gin-gonic/gin"
	"guns-go/controller/v1"
)

func InitBaseRouter(Router *gin.RouterGroup) (R gin.IRouter) {

	BaseRouter := Router.Group("")

	{
		BaseRouter.POST("login", v1.Login)
		BaseRouter.GET("sysFileInfo/preview", v1.Preview)
	}

	return BaseRouter
}
